package ca.scotthyndman.as2haxe.dom.binding;

/**
 * Binds a method.
 */
public interface IMethodBinding extends IBinding, IMovableBinding {

	/**
	 * Returns whether this method overrides the given method, as specified in
	 * section 8.4.8.1 of <em>The Java Language 
	 * Specification, Third Edition</em>
	 * (JLS3).
	 * 
	 * @param method
	 *            the method that is possibly overriden
	 * @return <code>true</code> if this method overrides the given method,
	 *         and <code>false</code> otherwise
	 * @since 3.1
	 */
	public boolean overrides(IMethodBinding method);
}
